package com.ruoyi.erecord.vehicles.service;

import java.util.Collection;
import java.util.List;

import com.ruoyi.common.core.domain.PageQuery;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.erecord.vehicles.domain.bo.VehiclesImportDetailBo;
import com.ruoyi.erecord.vehicles.domain.vo.VehiclesImportDetailVo;

/**
 * 车辆导入明细Service接口
 *
 * @author cc
 * @date 2023-04-18
 */
public interface IVehiclesImportDetailService {

    /**
     * 查询车辆导入明细
     */
    VehiclesImportDetailVo queryById(Long id);

    /**
     * 查询车辆导入明细列表
     */
    TableDataInfo<VehiclesImportDetailVo> queryPageList(VehiclesImportDetailBo bo, PageQuery pageQuery);

    /**
     * 查询车辆导入明细列表
     */
    List<VehiclesImportDetailVo> queryList(VehiclesImportDetailBo bo);

    /**
     * 新增车辆导入明细
     */
    Boolean insertByBo(VehiclesImportDetailBo bo);

    /**
     * 修改车辆导入明细
     */
    Boolean updateByBo(VehiclesImportDetailBo bo);

    /**
     * 校验并批量删除车辆导入明细信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
    
    boolean batchInsertBo(List<VehiclesImportDetailVo> voList);
    
    Boolean batchUpdatetBo(List<VehiclesImportDetailVo> list);
}
